package com.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wty
 * @since 2022-01-19
 */
@Data
@Accessors(chain = true)
@TableName("shares_inform")
public class SharesInform extends Model<SharesInform> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 代码
     */
    private String code;
    /**
     * 名字
     */
    private String name;
    /**
     * 时间
     */
    private String time;
    /**
     * 图片地址
     */
    private String path;
    /**
     * 类型
     */
    private String type;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
